using UnityEngine;

namespace Fusion.Hotfix.Mono.LifeCycle
{
    public class OnRenderImageLifeCycle : DLLMonoLifeCycle
    {
        private object[] methodParams = new object[2];

        private void OnRenderImage(RenderTexture source, RenderTexture destination)
        {
            methodParams[0] = source;
            methodParams[1] = destination;
            MethodInfo?.Invoke(Mono, methodParams);
        }
    }
}


